package Pieces;

public class ReverseSquigly extends Piece {
    public static int PROBABILITY = 15; //percent chance of this piece being selected

    private BlockType[][] revSquiglyArrayUpright = {
			{BlockType.NONE, BlockType.YELLOW, BlockType.NONE, BlockType.NONE},
			{BlockType.YELLOW, BlockType.YELLOW, BlockType.NONE, BlockType.NONE},
			{BlockType.YELLOW, BlockType.NONE, BlockType.NONE, BlockType.NONE},
			{BlockType.NONE, BlockType.NONE, BlockType.NONE, BlockType.NONE}
		};
    
    private BlockType[][] revSquiglyArrayRight = {
			{BlockType.YELLOW, BlockType.YELLOW, BlockType.NONE, BlockType.NONE},
			{BlockType.NONE, BlockType.YELLOW, BlockType.YELLOW, BlockType.NONE},
			{BlockType.NONE, BlockType.NONE, BlockType.NONE, BlockType.NONE},
			{BlockType.NONE, BlockType.NONE, BlockType.NONE, BlockType.NONE}
		};
   
    
    public ReverseSquigly() {
		super();
		// TODO Auto-generated constructor stub
	}

	@Override
	public BlockType[][] getCurrentBlockArray() {
		switch(currentState) {
		case DEFAULT:
			return revSquiglyArrayUpright;
		case SECOND:
			return revSquiglyArrayUpright;
		default:
			return revSquiglyArrayRight;
	}
	}

}
